STEP 6: Time to set the ball in motion!
- From add Set x Speed. Assign it to ball using dot notation! This moves the ball to the right.
- Add Set y Speed. Assign it to ball and change the argument to -6. Negative numbers move the ball down!
- Drag out Disable Floor. This will let the ball fall off the stage if the player misses it with the paddle!
Negative y speeds move the ball down, and negative x speeds move the ball left.
To navigate the page using the TAB key, first press ESC to exit the code editor.